/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Client.domain;

import java.awt.Color;

/**
 *
 * @author Ripper
 */
public class ClientPlayer extends ClientEntity
{
    private String playerName;
    
    public ClientPlayer(ClientGameSession cgs, double x, double y, int hp, int looktype, Color[] colors,
            String pname)
    {
        super(cgs, x, y, hp, looktype, colors, new Color(0,255,0,255));
        
        setPlayerName(pname);
    }

    public String getPlayerName() {
        return playerName;
    }

    public final void setPlayerName(String playerName) {
        this.playerName = playerName;
    }
    
    @Override
    public String getName()
    {
        return playerName;
    }
    
}
